package com.youlu.campus.entity.VO.req;

import com.youlu.campus.entity.UserPO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class CreatedUserInfoExtendCommand {

    @NotBlank(message = "姓名必填")
    private String name;
    @NotBlank(message = "手机号必填")
    private String mobile;
    @NotBlank(message = "学校id必填")
    private String universityId;
    @NotBlank(message = "学校名称必填")
    private String universityName;

    //@NotBlank(message = "年级必填")
    private String grade;

    @NotBlank(message = "验证码必填")
    private String code;

    /**
     * 活动ID
     */
    //@NotBlank(message = "活动ID必传")
    private String activityId;

    // @NotBlank(message = "证书等级")
    private String caLevel;
    // @NotBlank(message = "证书类型")
    private String caType;

    private UserPO currentUser;
    /**
     * 1、老业务 2、新业务
     */
    private Integer type = 1;

    private String majorId;

    private String majorName;
    /**
     * 是否来源我的积分
     */
    private Boolean fromMyPoint = Boolean.FALSE;

    /**
     * 是否必须有验证码
     */
    private Boolean mustCode = Boolean.FALSE;

    private String activityChannelId;
}
